package com.unknow.first.dapp.admin.account.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.List;
import lombok.Data;
import org.cloud.annotation.Query;
import org.cloud.annotation.Query.Type;

@ApiModel("闪兑记录查询DTO")
@Data
public class FlashSwapRecordQueryDTO {

    @ApiModelProperty(value = "交易地址")
    @Query
    private String address;

    /**
     * 交易队id
     */
    @ApiModelProperty(value = "交易队id")
    @Query
    private Integer swapPairId;

    /**
     * 兑换币种Id
     */
    @ApiModelProperty(value = "兑换币种Id")
    @Query
    private Integer fromCoinId;

    /**
     * 兑换币种名称
     */
    @ApiModelProperty(value = "兑换币种名称,模糊查询")
    @Query(type = Type.INNER_LIKE)
    private String fromCoinName;

    /**
     * 兑换币种简称
     */
    @ApiModelProperty(value = "兑换币种简称,模糊查询")
    @Query(type = Type.INNER_LIKE)
    private String fromCoinSymbol;

    /**
     * 换出币种ID
     */
    @ApiModelProperty(value = "换出币种ID")
    @Query
    private Integer toCoinId;

    /**
     * 换出币种名称
     */
    @ApiModelProperty(value = "换出币种名称,模糊查询")
    @Query(type = Type.INNER_LIKE)
    private String toCoinName;

    /**
     * 换出币种简称
     */
    @ApiModelProperty(value = "换出币种简称,模糊查询")
    @Query(type = Type.INNER_LIKE)
    private String toCoinSymbol;


    @ApiModelProperty(value = "兑换日期")
    @Query(type = Type.LONG_TIMESTAMP)
    private List<Long> createdDate;
}
